package org.antrain.pwd.utils;

public class Constants {
    /**
     * 响应成功的状态码
     */
    public static final int RESULT_CODE_SUCCESS = 200;
    public static final String SUCCESS_MSG = "SUCCESS";

    /**
     * 响应错误的状态码
     */
    public static final int RESULT_CODE_FAIL = 400;
    public static final String FAIL_MSG = "FAIL";

    public static final int DEFAULT_EXCEPTION_CODE = 500;
    public static final String DEFAULT_EXCEPTION_MSG = "服务器发生错误，正在联系管理员小哥哥进行修复";

    public static final String NOT_LOGIN_MSG = "用户未登录或登录信息已过期，请重新登录";
    /**
     * 未登录的返回状态码
     */
    public static final int NOT_LOGIN_CODE  = 505;

    /**
     * 信息的状态 未读
     */
    public static final int MESSAGE_UNREAD = 0;
    /**
     * 信息的状态 已读
     */
    public static final int MESSAGE_READ = 1;
        /**
     * 信息的状态 通过
     */
    public static final int MESSAGE_ACCEPT = 2;
        /**
     * 信息的状态 未通过
     */
    public static final int MESSAGE_REJECT = 3;
}